/* 
    Document   : base
    Created on : 11-gen-2013, 18.46.24
    Author     : Gianmarco Nalin
    Description:
        Purpose of the stylesheet follows.
*/
@font-face {
    font-family: 'Olivia';
    src: url('fonts/olivia/olivia-webfont.eot');
    src: url('fonts/olivia/olivia-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/olivia/olivia-webfont.woff') format('woff'),
         url('fonts/olivia/olivia-webfont.ttf') format('truetype'),
         url('fonts/olivia/olivia-webfont.svg#pixfine7pxregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Varela';
    src: url('fonts/varela/VarelaRound-Regular.eot');
    src: url('fonts/varela/VarelaRound-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/varela/VarelaRound-Regular.woff') format('woff'),
         url('fonts/varela/VarelaRound-Regular.ttf') format('truetype'),
         url('fonts/varela/VarelaRound-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GeometrySoftProBoldN';
    src: url('fonts/geometry/Geometry_Soft_Pro-Bold_N-webfont.eot');
    src: url('fonts/geometry/Geometry_Soft_Pro-Bold_N-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/geometry/Geometry_Soft_Pro-Bold_N-webfont.woff') format('woff'),
         url('fonts/geometry/Geometry_Soft_Pro-Bold_N-webfont.ttf') format('truetype'),
         url('fonts/geometry/Geometry_Soft_Pro-Bold_N-webfont.svg#GeometrySoftProBoldN') format('svg');
    font-weight: normal;
    font-style: normal;

}


body {
    background: url('../img/bg.png') repeat;
    font-family: Varela, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #FFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: GeometrySoftProBoldN, sans-serif;
    color: #FFF;
}

#patrocini {
    background-color: #FFF;
    margin-top: 20px;
}

#content {
    margin-top: 20px;
}

#video, #news, #info {
}

#news .news-title {
    margin-bottom: 0px;
    border-bottom: 2px solid #FFF;
    font-size: 17px;
    line-height: 19px;
}
#news p {
    font-size: 13px;
}

#news .fb-like, #news .twitter-share-button {
    margin-top: 5px;
    margin-right: 5px;
}

.administration {
    margin-bottom: 15px;
    margin-top: 15px;
}

article {
    margin-top: 30px;
    color: #000;
}

article #text {
    padding: 20px;
    background: #FFFFFF;
    background: rgba(255, 255, 255, .85);
}

article #title {
    display: block;
    position: relative;
}

article #title h1 {
    position: absolute;
    display: block;
    right: 0;
    bottom: 20px;
    padding: 10px 20px;
    background: #FFFFFF;
    background: rgba(255, 255, 255, .85);
    color: #000;
}

nav {
    background: #010030; /* Old browsers */
    background: -moz-linear-gradient(top,  #010030 0%, #003066 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#010030), color-stop(100%,#003066)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #010030 0%,#003066 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #010030 0%,#003066 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #010030 0%,#003066 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #010030 0%,#003066 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#010030', endColorstr='#003066',GradientType=0 ); /* IE6-9 */
    
    -moz-box-shadow: 0px 2px 3px #505050;
    -webkit-box-shadow: 2px 3px 3px #505050;
    -o-box-shadow: 0px 2px 3px #505050;
    -ms-box-shadow: 0px 2px 3px #505050;
    box-shadow: 0px 2px 3px #505050;
    
    border-bottom: 1px solid #002851;
    z-index: 99999;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    float: left;
    border-right: 1px solid #004974;
    box-shadow: 1px 0px 0px #000034;
}
nav ul li:first-child {
    border-left: 1px solid #004974;
    box-shadow: 1px 0px 0px #000034;
}

nav ul li a {
    color: #FFFFFF;
    display: block;
    
    font-family: GeometrySoftProBoldN, sans-serif;
    font-size: 18px;
    line-height: 50px;
    margin: 0;
    padding: 0px 15px;
    
    text-transform: uppercase;
    
    -moz-transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.Slide .caption, .Slide .caption h1, .Slide .caption h2, .Slide .caption h3, .Slide .caption h4, .Slide .caption h5, .Slide .caption h6 {
    color: #FFFFFF !important;
}

.Slide h1 {
    font-size: 24px;
}

.Slide p {
    font-size: 13px;
}


#login-box, #user-box {
    background: url('../img/dashboard-bg.png') repeat;
    height: 110px;
    -webkit-box-shadow: 3px 3px 15px #000 inset;
    -moz-box-shadow: 3px 3px 15px #000 inset;
    -o-box-shadow: 3px 3px 15px #000 inset;
    -ms-box-shadow: 3px 3px 15px #000 inset;
    box-shadow: 3px 3px 15px #000 inset;
}

#user-box {
    padding-top: 40px;
}

#login-box form {
    height: 110px;
}

#login-box form input, #login-box form label, #login-box form button {
    position: relative;
    margin-top: 40px;
    margin-left: 20px;
}

#login-box form input[type=checkbox] {
    margin-top: 0px;
    margin-left: 0px;
}

html.dashboard {
    background: url('../img/dashboard-bg.png') repeat;
}

html.dashboard body {
    background: none;
}


.admin-element {
    border: 2px dashed #FFF;
    background: #aeaeae;
    background: rgba(174, 174, 174, 0.5);
}

form.login-page {
    margin-top: 75px;
    width: 450px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

legend {
    color: #FFF;
}

textarea {
    color: #000;
}

fieldset {
    border: 1px #FFF solid;
    margin: 20px 0px;
    padding: 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
}
fieldset legend {
    color: #FFF;
    border-bottom: none;
    width: 275px;
    padding-right: 10px;
    padding-left: 10px;
}

nav ul li a:hover {
    text-decoration: none;
    color: #FFFFFF;
    background-color: #002851;
}

nav ul li img {
    margin-right: 10px;
}

footer {
    background-color: #002851;
    padding: 30px 0px;
}
footer.margin {
    margin-top: 20px;
}

.no-margin {
    margin: 0px !important;
}

.right {
    float: right !important;
}
.no-border {
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

.donboscoland {
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.donboscoland:hover {
    background: none !important;
    
}

.videos ul li {
    margin-bottom: 20px
}

.nav li a {
    background-color: #FFF;
    text-align: center;
    font-family: Olivia, sans-serif;
}

.nav li.active a{
    background-color: #cde6fd;
}

.wrapper {
    background: #000000;
    background: rgba(0,0,0, .4);
}

.media:nth-child(even) {
    background: #FFFFFF;
    background: rgba(255,255,255, .15);
}
.media {
    padding: 10px;
    margin-top: 0px !important;
}


/**** MEDIA QUERIES ****/
@media (min-width: 1200px) {
    
}

@media (min-width: 980px) and (max-width: 1199px) {
    .social {
        padding: 0px 2px !important;
    }
    
    nav ul li a {
        padding: 0px 10px;
    }
}

@media (max-width: 979px) {
    nav ul li img {
        margin-right: 0px;
    }
    
    
}

@media (min-width: 768px) and (max-width: 979px) {
    
}

@media (max-width: 767px) {
    nav, #header, footer, #patrocini, article #title, article #text {
        margin: 0px -20px;
    }

    .no-home{
        padding-top: 20px !important;
    }
    
    footer {
        padding: 20px;
    }
    
    #patrocini {
        margin-top: 20px;
    }
    
    .social {
        padding: 0px 2px !important;
    }
    
}